package com.xiaoyi.equery;

import java.util.List;
import java.util.Map;

/**
 * @author xiaoyi
 * @version 1.0.0
 * @createTime 2023-02-19 00:25:00
 */
public class QueryResultModel {
    private List<Map<String, Object>> queryResultList;
    private Long count;

    public QueryResultModel() {
    }

    public QueryResultModel(List<Map<String, Object>> queryResultList, Long count) {
        this.queryResultList = queryResultList;
        this.count = count;
    }

    public List<Map<String, Object>> getQueryResultList() {
        return queryResultList;
    }

    public void setQueryResultList(List<Map<String, Object>> queryResultList) {
        this.queryResultList = queryResultList;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "QueryResultModel{" +
                "queryResultList=" + queryResultList +
                ", count=" + count +
                '}';
    }
}
